When using IDS to run Documaker, how do I set it up to use different CUSLIBs?

For instance, suppose you use IDS to run Documaker and generate transactions real-time and you have two different library configurations, each using a different CUSLIB. How do I set up IDS to use a single version of Documaker, but two different CUSLIBs?

Also, if for some reason, you need to have different versions or patch levels of Documaker per configuration and different CUSLIBs, how do I set it up?

Each separate configuration in the DAP.INI file specifies a separate configuration INI file, as shown here:

< Configurations >
	Config	= SAMPCO
	Config	= DMS1
< Config:SAMPCO >
	INIFile	= SAMPCO.INI
< Config:DMS1 >
	INIFile	= DMS1.INI

Each of the configuration INI files, such as SAMPCO.INI, includes the following options:

< RPDRunRP >
	Executable = <\\sampco_drive\sampco_path\gendaw32.exe>
	Directory = <\\sampco_drive\sampco_dir\>
	UserINI = fsiuser.ini

 

Option

Description

Executable

The file name and path of the executable program to run. The file name is gendaw32.exe.

Directory

The directory in which you want to start when gendaw32.exe is executed.

UserINI

The name of FSIUSER.INI file you want gendaw32.exe to load.

If each configuration uses the same exact version (and patch level) of Documaker but has a different CUSLIB, then install the DLL files for Documaker in the directory specified in the system path, but place only the following files in the directory specified by the Executable option:

gendaw32.exe

cusw32.dll

If each configuration uses a different version or patch level of Documaker, then install all of the DLL files for each Documaker version, including each version's CUSLIB, in the directory specified by the Executable option for each configuration.

Note   Versions of the Documaker Bridge prior to version 11.0 only run one configuration or instance of Documaker at a time per IDS instance, so as messages swap to different configurations, IDS has to stop and restart the GenData program. For best performance prior to version 11.0, use separate instances of IDS and configure each to service a different queue for each configuration.

With version 11.0 and later, the Documaker Bridge can manage multiple configurations and Documaker instances simultaneously, so it does not have to stop and restart the GenData program if a configuration changes. It will route it to the correct live instance of the GenData program for that configuration and each can be a different version or patch level, or have a different CUSLIB.